<template>
	<view style="background-image: url('/static/lifewybj.png');width: 100vw;height: 100vh;background-size: 100vw;">
		<view class="header" :style="'padding-top: '+bartop+'px; padding-bottom:10rpx;background: rgba(0, 0, 0, 0);'">
			<view class="goodsmsgheader headertop" style="width: 100%;">
				<navigator open-type="navigateBack" style="padding:10rpx">
					<image src="/static/zfh.png" mode="aspectFit"></image>
				</navigator>
				<text style="font-size: 36rpx;
		font-family: Source Han Sans CN;
		font-weight: 600;
		color: #000000;
		"> 优惠券</text>
				<!-- <image src="/static/goodsmsghei.png" mode="aspectFit" bindtap="showmsg" wx:if="{{cartlen=='00'?false:true}}"><text>{{cartlen}}</text></image> -->
			</view>
		</view>
		<view class="body">
			<view class="top">
				<view class="top1">
					可用优惠券（共<text>3</text>张）
				</view>
				<view class="top2">
					<view class="">失效卷</view>
					<image src="../../../static/yfh.png" mode=""></image>
				</view>
			</view>
		</view>
		<view class="title">
			<image class="title" src="../../../static/yhtit1.png" mode=""></image>
			<view class="title1">
				<view class="title1z">
					<view class="title1ztext">￥<text>5</text></view>
					<view class="title1ztext1">满6元可用</view>
					<view class="title1ztext2">
						限品类券
					</view>
				</view>
				<view class="title1y">
					<view class="title1ytext">
						仅限购买商城部分商品
					</view>
					<view class="title1ytext1">
						有效期：2022-03-20至2022-04-20
					</view>
					<view class="title1yan">
						立即使用
					</view>
					<view class="title1box">
						<view class="">查看使用规则</view>
						<image src="/static/afh.png" mode=""></image>
					</view>
				</view>
			</view>
		</view>

		<view class="title">
			<image class="title" src="../../../static/yhtit2.png" mode=""></image>
			<view class="title1">
				<view class="title1z">
					<view class="title1ztext">￥<text>5</text></view>
					<view class="title1ztext1">满6元可用</view>
					<view class="title1ztext2" style="color: #0075FF;">
						店铺券
					</view>
				</view>
				<view class="title1y">
					<view class="title1ytext">
						仅限购买[XX店铺]商品
					</view>
					<view class="title1ytext1">
						有效期：2022-03-20至2022-04-20
					</view>
					<view class="title1yan" style="background-color: #0075FF;">
						立即使用
					</view>
					<view class="title1box">
						<view class="">查看使用规则</view>
						<image src="/static/afh.png" mode=""></image>
					</view>
				</view>
			</view>
		</view>
		<view class="title">
			<image class="title" src="../../../static/yhtit3.png" mode=""></image>
			<view class="title1">
				<view class="title1z">
					<view class="title1ztext">￥<text>5</text></view>
					<view class="title1ztext1">满6元可用</view>
					<view class="title1ztext2" style="color: #FF0011;">
						平台券
					</view>
				</view>
				<view class="title1y">
					<view class="title1ytext">
						仅限购买[XX店铺]商品
					</view>
					<view class="title1ytext1">
						有效期：2022-03-20至2022-04-20
					</view>
					<view class="title1yan" style="background-color: #FF0011;">
						立即使用
					</view>
					<view class="title1box">
						<view class="">查看使用规则</view>
						<image src="/static/afh.png" mode=""></image>
					</view>
				</view>
			</view>
		</view>



	</view>
</template>

<script>
	export default {
		data() {
			return {
				bartop: 0,
				titles: 0,
			}
		},
		onLoad(e) {
			this.bartop = this.$bartop;
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.body {
		padding: 0 40rpx;
		padding-top: 120rpx;
	}

	.top {
		display: flex;
		justify-content: space-between;
		align-items: center;

		.top1 {
			font-size: 30rpx;
			font-family: Source Han Sans CN;
			font-weight: 600;
			color: #333333;
			line-height: 140rpx;

			>text {
				color: #FF7300;
			}
		}

		.top2 {
			display: flex;
			align-items: center;

			>view {
				font-size: 30rpx;
				font-family: Source Han Sans CN;
				font-weight: 500;
				color: #999999;
				line-height: 140rpx;
			}

			>image {
				margin-left: 10rpx;
				width: 14rpx;
				height: 24rpx;
			}
		}
	}

	.title {
		width: 740rpx;
		height: 300rpx;
	}

	.title1 {
		margin-top: -260rpx;
		display: flex;
		justify-content: space-around;
		align-items: center;

		.title1z {
			width: 200rpx;
			margin-left: 30rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			.title1ztext {
				font-size: 36rpx;
				font-family: Source Han Sans CN;
				font-weight: 500;
				color: #FFFFFF;

				>text {
					font-size: 72rpx;
					font-weight: 600;
				}
			}

			.title1ztext1 {
				font-size: 24rpx;
				font-family: Source Han Sans CN;
				font-weight: 500;
				color: #FFFFFF;
			}

			.title1ztext2 {
				margin-top: 50rpx;
				font-size: 27rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #F97406;
			}
		}

		.title1y {
			width: 400rpx;

			.title1ytext {
				font-size: 30rpx;
				font-family: Source Han Sans CN;
				font-weight: 600;
				color: #333333;
			}

			.title1ytext1 {
				margin: 20rpx 0;
				font-size: 19rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #999999;
			}

			.title1yan {
				background-color: rgb(255, 176, 69);
				border-radius: 20rpx;
				width: 113rpx;
				height: 40rpx;
				line-height: 40rpx;
				text-align: center;
				font-size: 18rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #FFFFFF;
			}

			.title1box {
				display: flex;
				justify-content: space-between;
				align-items: center;

				>view {
					font-size: 19rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #999999;
				}

				>image {
					width: 59rpx;
					height: 59rpx;
				}
			}
		}
	}
</style>
